package com.wang.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.common.result.Result;
import com.wang.model.system.SysUser;
import com.wang.model.system.dto.SysUserDto;
import com.wang.model.system.vo.SysUserQueryVo;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author wang
 * @since 2023-04-17
 */
public interface SysUserService extends IService<SysUser> {

    void updateStatus(Long id, Integer status);

    Result index(Page<SysUserDto> userDtoPage, SysUserQueryVo sysUserQueryVo);

    SysUser getUserByUserName(String username);
}
